﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014B9 RID: 5305
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateMechanismBarScNotify : IMessage<UpdateMechanismBarScNotify>, IMessage, IEquatable<UpdateMechanismBarScNotify>, IDeepCloneable<UpdateMechanismBarScNotify>, IBufferMessage
	{
		// Token: 0x170042C9 RID: 17097
		// (get) Token: 0x0600ED36 RID: 60726 RVA: 0x00279BFB File Offset: 0x00277DFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateMechanismBarScNotify> Parser
		{
			get
			{
				return UpdateMechanismBarScNotify._parser;
			}
		}

		// Token: 0x170042CA RID: 17098
		// (get) Token: 0x0600ED37 RID: 60727 RVA: 0x00279C02 File Offset: 0x00277E02
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateMechanismBarScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170042CB RID: 17099
		// (get) Token: 0x0600ED38 RID: 60728 RVA: 0x00279C14 File Offset: 0x00277E14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateMechanismBarScNotify.Descriptor;
			}
		}

		// Token: 0x0600ED39 RID: 60729 RVA: 0x00279C1B File Offset: 0x00277E1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateMechanismBarScNotify()
		{
		}

		// Token: 0x0600ED3A RID: 60730 RVA: 0x00279C24 File Offset: 0x00277E24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateMechanismBarScNotify(UpdateMechanismBarScNotify other) : this()
		{
			this.planeId_ = other.planeId_;
			this.dILEAMLLJFF_ = ((other.dILEAMLLJFF_ != null) ? other.dILEAMLLJFF_.Clone() : null);
			this.floorId_ = other.floorId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ED3B RID: 60731 RVA: 0x00279C7C File Offset: 0x00277E7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateMechanismBarScNotify Clone()
		{
			return new UpdateMechanismBarScNotify(this);
		}

		// Token: 0x170042CC RID: 17100
		// (get) Token: 0x0600ED3C RID: 60732 RVA: 0x00279C84 File Offset: 0x00277E84
		// (set) Token: 0x0600ED3D RID: 60733 RVA: 0x00279C8C File Offset: 0x00277E8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PlaneId
		{
			get
			{
				return this.planeId_;
			}
			set
			{
				this.planeId_ = value;
			}
		}

		// Token: 0x170042CD RID: 17101
		// (get) Token: 0x0600ED3E RID: 60734 RVA: 0x00279C95 File Offset: 0x00277E95
		// (set) Token: 0x0600ED3F RID: 60735 RVA: 0x00279C9D File Offset: 0x00277E9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MechanismBarInfo DILEAMLLJFF
		{
			get
			{
				return this.dILEAMLLJFF_;
			}
			set
			{
				this.dILEAMLLJFF_ = value;
			}
		}

		// Token: 0x170042CE RID: 17102
		// (get) Token: 0x0600ED40 RID: 60736 RVA: 0x00279CA6 File Offset: 0x00277EA6
		// (set) Token: 0x0600ED41 RID: 60737 RVA: 0x00279CAE File Offset: 0x00277EAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FloorId
		{
			get
			{
				return this.floorId_;
			}
			set
			{
				this.floorId_ = value;
			}
		}

		// Token: 0x0600ED42 RID: 60738 RVA: 0x00279CB7 File Offset: 0x00277EB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateMechanismBarScNotify);
		}

		// Token: 0x0600ED43 RID: 60739 RVA: 0x00279CC8 File Offset: 0x00277EC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateMechanismBarScNotify other)
		{
			return other != null && (other == this || (this.PlaneId == other.PlaneId && object.Equals(this.DILEAMLLJFF, other.DILEAMLLJFF) && this.FloorId == other.FloorId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ED44 RID: 60740 RVA: 0x00279D28 File Offset: 0x00277F28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PlaneId != 0U)
			{
				num ^= this.PlaneId.GetHashCode();
			}
			if (this.dILEAMLLJFF_ != null)
			{
				num ^= this.DILEAMLLJFF.GetHashCode();
			}
			if (this.FloorId != 0U)
			{
				num ^= this.FloorId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ED45 RID: 60741 RVA: 0x00279D96 File Offset: 0x00277F96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ED46 RID: 60742 RVA: 0x00279D9E File Offset: 0x00277F9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ED47 RID: 60743 RVA: 0x00279DA8 File Offset: 0x00277FA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PlaneId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.PlaneId);
			}
			if (this.FloorId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.FloorId);
			}
			if (this.dILEAMLLJFF_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.DILEAMLLJFF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ED48 RID: 60744 RVA: 0x00279E20 File Offset: 0x00278020
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PlaneId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PlaneId);
			}
			if (this.dILEAMLLJFF_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.DILEAMLLJFF);
			}
			if (this.FloorId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FloorId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ED49 RID: 60745 RVA: 0x00279E90 File Offset: 0x00278090
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateMechanismBarScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PlaneId != 0U)
			{
				this.PlaneId = other.PlaneId;
			}
			if (other.dILEAMLLJFF_ != null)
			{
				if (this.dILEAMLLJFF_ == null)
				{
					this.DILEAMLLJFF = new MechanismBarInfo();
				}
				this.DILEAMLLJFF.MergeFrom(other.DILEAMLLJFF);
			}
			if (other.FloorId != 0U)
			{
				this.FloorId = other.FloorId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600ED4A RID: 60746 RVA: 0x00279F0C File Offset: 0x0027810C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600ED4B RID: 60747 RVA: 0x00279F18 File Offset: 0x00278118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 40U)
					{
						if (num != 50U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.dILEAMLLJFF_ == null)
							{
								this.DILEAMLLJFF = new MechanismBarInfo();
							}
							input.ReadMessage(this.DILEAMLLJFF);
						}
					}
					else
					{
						this.FloorId = input.ReadUInt32();
					}
				}
				else
				{
					this.PlaneId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005DD8 RID: 24024
		private static readonly MessageParser<UpdateMechanismBarScNotify> _parser = new MessageParser<UpdateMechanismBarScNotify>(() => new UpdateMechanismBarScNotify());

		// Token: 0x04005DD9 RID: 24025
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005DDA RID: 24026
		public const int PlaneIdFieldNumber = 2;

		// Token: 0x04005DDB RID: 24027
		private uint planeId_;

		// Token: 0x04005DDC RID: 24028
		public const int DILEAMLLJFFFieldNumber = 6;

		// Token: 0x04005DDD RID: 24029
		private MechanismBarInfo dILEAMLLJFF_;

		// Token: 0x04005DDE RID: 24030
		public const int FloorIdFieldNumber = 5;

		// Token: 0x04005DDF RID: 24031
		private uint floorId_;
	}
}
